﻿#ifndef CLIENT_H
#define CLIENT_H

#include <QObject>
#include <QTcpSocket>

class Client : public QObject
{
    Q_OBJECT
public:
    explicit Client(QObject *parent = nullptr);
    void startClient();

private slots:
    void onConnected();
    void onReadyRead();

private:
    QTcpSocket *tcpSocket;

};

#endif // CLIENT_H
